#include <QtGui/QApplication>
#include <QFile>
#include <QDebug>
#include "mainwindow.h"

int main(int argc, char *argv[]) {
    QApplication a(argc, argv);

	QFile file(":style.qss");
	file.open(QIODevice::ReadOnly | QIODevice::Text);

	QByteArray bytes = file.readAll();
	QString dataString = QString::fromUtf8(bytes.data());

	a.setStyleSheet(dataString);

    MainWindow w;
    w.show();
    return a.exec();
}
